package Exercise4.exercise4;
import java.util.*;
class Print{
	public static void printMatrix(int n) {
		int[][] a=new int[n][n];
		for(int i=0;i<a.length;i++) {
			for(int j=0;j<a.length;j++) {
				System.out.print("1");
			}
			System.out.println();
		}
	}
}
public class Test4 {
	public static void main(String[] args) {
		System.out.println("请输入一个数：");
		Scanner in=new Scanner(System.in);
		int m=in.nextInt();
		new Print().printMatrix(m);
	}
}
